//
//  CustomButton.h
//  DaFangYa
//
//  Created by design on 15/7/28.
//  Copyright (c) 2015年 HFKJ_LZQ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CustomButton : UIButton
@property(strong, nonatomic)UILabel *myTitleLabel;
@property(strong, nonatomic)UIImageView *leftImageView;
@property(strong, nonatomic)UIImageView *bottomImageView;

@property(strong, nonatomic)NSString *title;
@property(strong, nonatomic)UIImage *normalLeftImage;
@property(strong, nonatomic)UIImage *normalBottomImage;
@property(strong, nonatomic)UIImage *selectLeftImage;
@property(strong, nonatomic)UIImage *selectBottomImage;

#pragma mark 新增
@property(strong, nonatomic)NSString *imageName_url;

@property(strong, nonatomic)UIView *view;//一般点击这个button对应展示一个view

@property(nonatomic)CGFloat myWidth;
@property(nonatomic)CGFloat myHeight;
@property(strong, nonatomic)UIColor *selectedTitleColor;
@property(strong, nonatomic)UIColor *normalTitleColor;
-(void)setButtonSubViews:(CGRect)titleFrame andLeftFrame:(CGRect)leftFrame andBottomFrame:(CGRect)bottomFrame;
-(void)setButtonData:(BOOL)isselected;
//-(void)setTitle:(NSString *)title forState:(UIControlState)state;
//-(void)setMyLeftImage:(UIImage *)image forState:(UIControlState)state;
//-(void)setMyBottomImage:(UIImage *)image forState:(UIControlState)state;
@end
